import { createApp } from "vue";
import App from "../App.vue";
import { SharedElementDirective } from "v-shared-element";
import router from "./router";
import { createPinia } from "pinia";
import "./index.scss";

import "xe-utils";
import VXETable from "vxe-table";
function useTable(app: {
  use: (arg0: typeof import("vxe-table/types/all")) => void;
}) {
  app.use(VXETable);
}

const pinia = createPinia();
createApp(App)
  .use(router)
  .use(SharedElementDirective, {
    includeChildren: true,
  })
  .use(pinia)
  .use(useTable)
  .mount("#app");
